package com.chuangjiangx.member.score.ddd.dal.condition;

import com.chuangjiangx.commons.QueryCondition;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 当前会员-积分明细列表请求参数
 * Created by YangKuo on 2017/11/28.
 */
@Getter
@Setter
public class ScoreStreamListCondition extends QueryCondition {

    /**
     * 所属商户id
     */
    private Long merchantId;

    /**
     * 会员id
     */
    private Long memberId;

    private Date startTime;

    private Date endTime;

    private Byte type;

    public ScoreStreamListCondition(Long merchantId, Long memberId, Date startTime, Date endTime, Byte type) {
        this.merchantId = merchantId;
        this.memberId = memberId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.type = type;
    }
}
